#include <iostream>
#include "Code/Storage/se_Storage.hpp"
#include <cstdio>
#include <iostream>
using namespace std;

void Quedr_Raw_DebugD(){//this function should behave without problems.
	uint32_t s[4] = {18,20,30};
	se::DataFile d ((char*)s,16);
	uint32_t c;
	d.Seek(4);
	cout<<(int)(d[0])<<endl;
	while(1){
		d.Read(&c,4);
		cout<<c<<"  ";
		
	}
}

void Quedr_Raw_DebugCd1(){//this function should behave without problems.
	se::ContentFile c("testQCd1.txt");
	se::DataFile d1, d2;
	c.Get(d1,0);
	cout<<"from file debug of id 0 : "<<d1.GetString()<<endl;
	c.Get(d2,1);
	char buffer[4];
	d2.Read(buffer,4);
	cout<<"from file debug of id 1 : "<<string(buffer,4)<<endl;
}

int main()
{
	Quedr_Raw_DebugCd1();
	
    return 0;
}
